<%--
  Created by IntelliJ IDEA.
  User: MACHENIKE
  Date: 2022/8/8
  Time: 16:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title> 表单处理事件 </title>
    <style type="text/css">

      fieldset
      {
        margin:30px auto;
        width:300px;
        height:300px;
        padding:20px auto;
        color:blue;
        text-align:center;
      }

      /*label部分CSS才是重点*/
      label
      {
        display: inline-block;
        width: 60px;
        text-align: justify;
        text-align-last: justify;
        margin-right: 10px;
      }
      div
        {
          position: fixed;
          width: 100%;
          height: 100%;
          background-color:#AEDDFF;

        }
      login
      {
          position: absolute;
          top: 30%;
          left: 0px;
          right: 0px;
          margin: 0px auto;
          border: 1px solid blue;
      }

    </style>
  </head>

  <head>
    <title>登录</title>
    <script src="index.jsp"></script>
  </head>
  <body>
  ${condition}
  <div>
      <form action="login.do" text-align:center="10px" id="login" name="login">

              用户名：<input name="username"> <br>
              密码：  <input name="password">  <br>
              <input type="submit" value="登录">

      </form>
  </div>

  </body>
</html>
